/*
    dark purple #201526
    off white #f5eeea
    salmon #f14d5a
    dark blue #283058
    lilac #56447d
    yellow #fbcf53  
    green #A9B361
    light blue #7496B0
*/
body {
    margin: 0;
    padding: 0;
    font-family:'Courier New', Courier, monospace;
    background-color: #201526;
    color: #fbcf53;
    justify-self: center;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    padding: 0.5rem 0;
}   


h2, h3, h4, h5, h6 {
    margin: 0 0 10px 0;
    font-weight: 600;
}

a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #005a99;
    text-decoration: underline;
}

hr {
    border: 0;
    height: 0.2em;
    background: #a9b36190;
    margin: 20px 0;

}

@media (max-width: 600px) {
    body {
        font-size: 0.9rem;
    }
    h1 {
        font-size: 1.5rem;
    }
    
}

/* Container styles */

.container {
    max-width:max-content;
    margin:0em 1em;
    background: #2830583a;
    padding: 2em 1.5em;
    border-radius: 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-align: center;
}


.container .nav {
    display:block;
    justify-content:center;
    justify-self: center;
    gap: 20px;
    margin: 20px 0;
}

.container .nav a {
    color: #7496B0;
    text-decoration: none;
    font-weight: bold;
    justify-self: center;
}

.container .nav a:hover {
    color: #f14d5a;
    text-decoration: none;
}



.container .header img{
    max-width: 70%;
    height:auto;
    display: block;
    margin: auto;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .container .header img {
        max-width: 100%;
    }
}

.container .content-filters {
    display:block;
    flex-direction: row;
    align-items: flex-start;
    justify-content:space-evenly;
    gap: 20px;
    margin: 20px 0;
    
}

/* Dropdown styles */

/*all button*/
.filter-btn,.filter-btn-f, .filter-btn-p {
    background-color: #f14d5a; 
    border: none;
    color: #f5eeea;
    padding: 0.4em 1.4em;
    text-align: center;
    text-decoration: none;
    display:inline-block;
    font-size: 1.2em;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    position: sticky;
    font-family:'Courier New', Courier, monospace;
    transition: background-color 0.2s ease;
}

@media (max-width: 600px) {
  .filter-btn, .filter-btn-f, .filter-btn-p {
    font-size: 0.8em;
    padding: 0.5em 1em;
  }
}
.filter-btn:hover, .filter-btn:focus, .filter-btn-f:hover, .filter-btn-f:focus, .filter-btn-p:hover, .filter-btn-p:focus{
  background-color: #fbcf53;
  color: #201526;
}


/* The container <div> - needed to position the dropdown content */
.dropdown, .dropdown2 {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content, .dropdown-content2 {
  display: none;
  position:static;
  background-color: #f1e2e2;
  min-width: 140px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border-radius: 8px;
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a, .dropdown-content2 a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 12px;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover, .dropdown-content2 a:hover {
    background-color: #ddd;
    border-radius: 8px;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/* Make dropdowns popups */
.dropdown-content, .dropdown-content2 {
  position: absolute; /* or fixed for full screen */
  top: 50px; /* adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: none;
}
.dropdown-content.show, .dropdown-content2.show {
  display: block;
}



/* Masonry grid layout */
.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.masonry-item img.art-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  transition: filter 0.2s;
}
.masonry-item:hover img.art-img {
  filter: brightness(0.9);
}
/* Image description overlay currently deactivated */
.img-desc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(32,21,38,0.85);
  color: #FBCF53;
  font-weight: bold;
  font-size: 0.8em;
  text-align:center;
  padding: 0.3rem 0.3rem;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0%);
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 2;
}
.masonry-item:hover .img-desc {
  opacity: 0.0;
  pointer-events: auto;
  position: absolute;
}
@media (max-width: 900px) {
  .masonry-grid {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
  }
}

.modal-arrow {
  background: none; 
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}


